Don't use AC_CHECK_FILE to check for a file since it always spits warnings
authorOwen Taylor <otaylor@redhat.com>
Mon, 29 Oct 2001 17:25:40 +0000 (17:25 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 29 Oct 2001 17:25:40 +0000 (17:25 +0000)
Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Don't use AC_CHECK_FILE to check for a
        file since it always spits warnings about cross compilation,
        use -f instead. It's not like we cross compile properly
        anyways.

        * configure.in (gtktargetlib): Move call to AC_PROG_CC
        to suppress autoconf warning.

        * acconfig.h: Add some missing #undefs from recent
        Win32 additions.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
acconfig.h
configure.in

index e7f97e788c433a294dd9b0a657c62185e0a7c403..47c60fd556902af7589c58d7fb172a2a400c02ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Don't use AC_CHECK_FILE to check for a 
+       file since it always spits warnings about cross compilation,
+       use -f instead. It's not like we cross compile properly
+       anyways.
+
+       * configure.in (gtktargetlib): Move call to AC_PROG_CC
+       to suppress autoconf warning.
+
+       * acconfig.h: Add some missing #undefs from recent
+       Win32 additions.
+
 Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>
 
        * m4macros/gtk-2.0.m4: Don't try to use pkg-config
index e7f97e788c433a294dd9b0a657c62185e0a7c403..47c60fd556902af7589c58d7fb172a2a400c02ce 100644 (file)
@@ -1,3 +1,16 @@
+Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Don't use AC_CHECK_FILE to check for a 
+       file since it always spits warnings about cross compilation,
+       use -f instead. It's not like we cross compile properly
+       anyways.
+
+       * configure.in (gtktargetlib): Move call to AC_PROG_CC
+       to suppress autoconf warning.
+
+       * acconfig.h: Add some missing #undefs from recent
+       Win32 additions.
+
 Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>
 
        * m4macros/gtk-2.0.m4: Don't try to use pkg-config
index e7f97e788c433a294dd9b0a657c62185e0a7c403..47c60fd556902af7589c58d7fb172a2a400c02ce 100644 (file)
@@ -1,3 +1,16 @@
+Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Don't use AC_CHECK_FILE to check for a 
+       file since it always spits warnings about cross compilation,
+       use -f instead. It's not like we cross compile properly
+       anyways.
+
+       * configure.in (gtktargetlib): Move call to AC_PROG_CC
+       to suppress autoconf warning.
+
+       * acconfig.h: Add some missing #undefs from recent
+       Win32 additions.
+
 Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>
 
        * m4macros/gtk-2.0.m4: Don't try to use pkg-config
index e7f97e788c433a294dd9b0a657c62185e0a7c403..47c60fd556902af7589c58d7fb172a2a400c02ce 100644 (file)
@@ -1,3 +1,16 @@
+Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Don't use AC_CHECK_FILE to check for a 
+       file since it always spits warnings about cross compilation,
+       use -f instead. It's not like we cross compile properly
+       anyways.
+
+       * configure.in (gtktargetlib): Move call to AC_PROG_CC
+       to suppress autoconf warning.
+
+       * acconfig.h: Add some missing #undefs from recent
+       Win32 additions.
+
 Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>
 
        * m4macros/gtk-2.0.m4: Don't try to use pkg-config
index e7f97e788c433a294dd9b0a657c62185e0a7c403..47c60fd556902af7589c58d7fb172a2a400c02ce 100644 (file)
@@ -1,3 +1,16 @@
+Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Don't use AC_CHECK_FILE to check for a 
+       file since it always spits warnings about cross compilation,
+       use -f instead. It's not like we cross compile properly
+       anyways.
+
+       * configure.in (gtktargetlib): Move call to AC_PROG_CC
+       to suppress autoconf warning.
+
+       * acconfig.h: Add some missing #undefs from recent
+       Win32 additions.
+
 Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>
 
        * m4macros/gtk-2.0.m4: Don't try to use pkg-config
index e7f97e788c433a294dd9b0a657c62185e0a7c403..47c60fd556902af7589c58d7fb172a2a400c02ce 100644 (file)
@@ -1,3 +1,16 @@
+Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Don't use AC_CHECK_FILE to check for a 
+       file since it always spits warnings about cross compilation,
+       use -f instead. It's not like we cross compile properly
+       anyways.
+
+       * configure.in (gtktargetlib): Move call to AC_PROG_CC
+       to suppress autoconf warning.
+
+       * acconfig.h: Add some missing #undefs from recent
+       Win32 additions.
+
 Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>
 
        * m4macros/gtk-2.0.m4: Don't try to use pkg-config
index e7f97e788c433a294dd9b0a657c62185e0a7c403..47c60fd556902af7589c58d7fb172a2a400c02ce 100644 (file)
@@ -1,3 +1,16 @@
+Mon Oct 29 12:21:49 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Don't use AC_CHECK_FILE to check for a 
+       file since it always spits warnings about cross compilation,
+       use -f instead. It's not like we cross compile properly
+       anyways.
+
+       * configure.in (gtktargetlib): Move call to AC_PROG_CC
+       to suppress autoconf warning.
+
+       * acconfig.h: Add some missing #undefs from recent
+       Win32 additions.
+
 Mon Oct 29 11:31:40 2001  Owen Taylor  <otaylor@redhat.com>
 
        * m4macros/gtk-2.0.m4: Don't try to use pkg-config
index 17b47293dc6195fbde8d450334ee1784a9ee54c5..4b303058524411879f8ac81e8383f311d019e8b7 100644 (file)
@@ -19,6 +19,7 @@
 #undef GTK_COMPILED_WITH_DEBUGGING
 
 #undef HAVE_CATGETS
+#undef HAVE_DIMM_H
 #undef HAVE_DIRENT_H
 #undef HAVE_GETTEXT
 #undef HAVE_IPC_H
@@ -31,6 +32,7 @@
 #undef HAVE_SHAPE_EXT
 #undef HAVE_SYS_SELECT_H
 #undef HAVE_SYS_TIME_H
+#undef HAVE_WINSOCK_H
 #undef HAVE_WINTAB
 #undef HAVE_XCONVERTCASE
 #undef HAVE_XFT
index 051877e2a13626c5d12e062fd963974baaf059f4..48dacc801945c75086d18d017303d1aaf81989a9 100644 (file)
@@ -102,6 +102,7 @@ AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
 AM_CONFIG_HEADER(config.h)
 
 dnl Initialize libtool
+AC_PROG_CC
 AC_LIBTOOL_WIN32_DLL
 AM_PROG_LIBTOOL
 
@@ -216,7 +217,6 @@ AC_DEFINE_UNQUOTED(GTK_COMPILED_WITH_DEBUGGING, "${enable_debug}")
 AM_SANITY_CHECK
 
 # Checks for programs.
-AC_PROG_CC
 AC_ISC_POSIX
 AM_PROG_CC_STDC
 AC_PROG_INSTALL
@@ -391,12 +391,14 @@ if test ${with_wintab+set} = set && test $with_wintab != no; then
 #include <wintab.h>], 
    [],
    [AC_MSG_RESULT(yes)
-    AC_CHECK_FILE([$with_wintab/lib/i386/wntab32x.lib],
-      [have_wintab=yes
-       AC_DEFINE(HAVE_WINTAB)
-       WINTAB_LIB="$with_wintab/lib/i386/wntab32x.lib"
-       AC_SUBST(WINTAB_LIB)],
-      [have_wintab=no])
+    if test -f $with_wintab/lib/i386/wntab32x.lib ; then
+      have_wintab=yes
+      AC_DEFINE(HAVE_WINTAB)
+      WINTAB_LIB="$with_wintab/lib/i386/wntab32x.lib"
+      AC_SUBST(WINTAB_LIB)
+    else
+      have_wintab=no
+    fi
     ],
    [AC_MSG_RESULT(no)
     have_wintab=no])